package com.shenyi.common.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author richard.fan
 * @version 1.0
 * @date 2018/11/02
 * @desc 部门管理
 * @see
 * @since 1.0
 */
@Data
public class SysDeptDO implements Serializable {

    private static final long serialVersionUID = 1L;

    //部门ID
    private Long deptId;
    //上级部门ID，一级部门为0
    private Long parentId;
    //部门名称
    private String name;
    //上级部门名称
    private String parentName;
    //排序
    private Integer orderNum;
    /**
     * ztree属性
     */
    private Boolean open;

    private List<?> list;
}
